import request from '@/utils/request'

//查询数据图层分类树
export function getDataTypeLevel2AndDataTypeLevel3Tree() {
    return request({
        url: '/fxfzaqbz/jcData/getDataTypeLevel2AndDataTypeLevel3TreeForSubsystem',
        method: 'get',
    })
}

//查询版本列表
export function getSysDataVersion(query) {
    return request({
        url: '/fxfzaqbz/jcData/list',
        method: 'post',
        data: query
    })
}

//查询版本号对应图层数据
export function queryDataByVersionCode(query) {
    return request({
        url: '/fxfzaqbz/jcData/queryDataByVersionCode',
        method: 'post',
        data: query
    })
}

//根据ID查询数据属性表
export function queryDataById(query) {
    return request({
        url: '/fxfzaqbz/jcData/queryDataById',
        method: 'post',
        data: query
    })
}